[INFO] cloning repository https://github.com/JAD3N/mc-server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JAD3N/mc-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJAD3N%2Fmc-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJAD3N%2Fmc-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cb8a80fe251c57ee31e5c28603647b55a134243f
[INFO] checking JAD3N/mc-server against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJAD3N%2Fmc-server" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JAD3N/mc-server on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/JAD3N/mc-server
[INFO] removed path dependency server from git repo https://github.com/JAD3N/mc-server
[INFO] finished tweaking git repo https://github.com/JAD3N/mc-server
[INFO] tweaked toml for git repo https://github.com/JAD3N/mc-server written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/JAD3N/mc-server already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (server) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (server) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 48b309bed8545727097e4afdcdf5a594fcb27669519bc0c88c06983817551dbe
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "48b309bed8545727097e4afdcdf5a594fcb27669519bc0c88c06983817551dbe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "48b309bed8545727097e4afdcdf5a594fcb27669519bc0c88c06983817551dbe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48b309bed8545727097e4afdcdf5a594fcb27669519bc0c88c06983817551dbe", kill_on_drop: false }`
[INFO] [stdout] 48b309bed8545727097e4afdcdf5a594fcb27669519bc0c88c06983817551dbe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 351d06990a7af9303d2fc96c568f8dab41f3e485be83ac22a699538472500fa1
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "351d06990a7af9303d2fc96c568f8dab41f3e485be83ac22a699538472500fa1", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (server) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]     Checking futures-sink v0.3.5
[INFO] [stderr]     Checking futures-task v0.3.5
[INFO] [stderr]     Checking futures-io v0.3.5
[INFO] [stderr]    Compiling syn v1.0.40
[INFO] [stderr]     Checking signal-hook-registry v1.2.1
[INFO] [stderr]     Checking event-bus v0.1.0
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking futures-channel v0.3.5
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling async-trait v0.1.40
[INFO] [stderr]     Checking tokio v0.2.22
[INFO] [stderr]     Checking pin-project v0.4.23
[INFO] [stderr]     Checking futures-util v0.3.5
[INFO] [stderr]     Checking futures v0.3.5
[INFO] [stderr]     Checking flume v0.7.2
[INFO] [stderr]     Checking mc-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `world` in `server`
[INFO] [stdout]  --> src/minecraft/blocks.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use server::world::level::{Block, AirBlock};
[INFO] [stdout]   |             ^^^^^ could not find `world` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `server::core`
[INFO] [stdout]  --> src/minecraft/blocks.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use server::core::{ResourceRegistry, RegisterEvent};
[INFO] [stdout]   |             ^^^^ could not find `core` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `network` in `server`
[INFO] [stdout]  --> src/minecraft/protocol/status.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use server::network::protocol::{ProtocolHandler, ProtocolHandlerState};
[INFO] [stdout]   |             ^^^^^^^ could not find `network` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `server::core`
[INFO] [stdout]  --> src/minecraft/sounds.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use server::core::{ResourceRegistry, RegisterEvent, Sound};
[INFO] [stdout]   |             ^^^^ could not find `core` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `network` in `server`
[INFO] [stdout]  --> src/minecraft/protocol/handshake.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use server::network::protocol::{ProtocolHandler, ProtocolHandlerState, Var};
[INFO] [stdout]   |             ^^^^^^^ could not find `network` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `server::server`
[INFO] [stdout]  --> src/minecraft/protocol/status.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use server::server::*;
[INFO] [stdout]   |             ^^^^^^ could not find `server` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `server::network`
[INFO] [stdout]  --> src/minecraft/protocol/handshake.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use server::network::WorkerRequest;
[INFO] [stdout]   |             ^^^^^^^ could not find `network` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `network` in `server`
[INFO] [stdout]  --> src/minecraft/protocol/mod.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use server::network::protocol::Protocol;
[INFO] [stdout]   |             ^^^^^^^ could not find `network` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `server::core`
[INFO] [stdout]  --> src/minecraft/protocol/mod.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use server::core::{RegisterEvent, MappedRegistry};
[INFO] [stdout]   |             ^^^^ could not find `core` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `server::core`
[INFO] [stdout]   --> src/main.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use server::core::Registries;
[INFO] [stdout]    |             ^^^^ could not find `core` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `server::server`
[INFO] [stdout]   --> src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use server::server::{ServerSettings, ServerContainer};
[INFO] [stdout]    |             ^^^^^^ could not find `server` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `protocol_struct` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | protocol_struct!(StatusRequestPacket {});
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `protocol_struct` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:32:1
[INFO] [stdout]    |
[INFO] [stdout] 32 | protocol_struct!(PingRequestPacket { time: u64 });
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `protocol_struct` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | protocol_struct!(StatusResponsePacket { status: ServerStatus });
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `protocol_struct` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:34:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | protocol_struct!(PongResponsePacket { time: u64 });
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `packet` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | packet!(StatusProtocolHandler, StatusRequestPacket, handle_status_request);
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `packet` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | packet!(StatusProtocolHandler, PingRequestPacket, handle_ping_request);
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `packet` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | packet!(StatusResponsePacket);
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `packet` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | packet!(PongResponsePacket);
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `protocol_struct` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/handshake.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | protocol_struct!(IntentionPacket {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `packet` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/handshake.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | packet!(HandshakeProtocolHandler, IntentionPacket, handle_intention);
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `protocol` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/mod.rs:10:28
[INFO] [stdout]    |
[INFO] [stdout] 10 |     protocols.register(-1, protocol! {
[INFO] [stdout]    |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `protocol` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/mod.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 16 |     protocols.register(1, protocol! {
[INFO] [stdout]    |                           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `world` in `server`
[INFO] [stdout]  --> src/minecraft/blocks.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use server::world::level::{Block, AirBlock};
[INFO] [stdout]   |             ^^^^^ could not find `world` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `server::core`
[INFO] [stdout]  --> src/minecraft/blocks.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use server::core::{ResourceRegistry, RegisterEvent};
[INFO] [stdout]   |             ^^^^ could not find `core` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `network` in `server`
[INFO] [stdout]  --> src/minecraft/protocol/status.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use server::network::protocol::{ProtocolHandler, ProtocolHandlerState};
[INFO] [stdout]   |             ^^^^^^^ could not find `network` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `server::core`
[INFO] [stdout]  --> src/minecraft/sounds.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use server::core::{ResourceRegistry, RegisterEvent, Sound};
[INFO] [stdout]   |             ^^^^ could not find `core` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `network` in `server`
[INFO] [stdout]  --> src/minecraft/protocol/handshake.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use server::network::protocol::{ProtocolHandler, ProtocolHandlerState, Var};
[INFO] [stdout]   |             ^^^^^^^ could not find `network` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `server::server`
[INFO] [stdout]  --> src/minecraft/protocol/status.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use server::server::*;
[INFO] [stdout]   |             ^^^^^^ could not find `server` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `server::network`
[INFO] [stdout]  --> src/minecraft/protocol/handshake.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use server::network::WorkerRequest;
[INFO] [stdout]   |             ^^^^^^^ could not find `network` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `network` in `server`
[INFO] [stdout]  --> src/minecraft/protocol/mod.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use server::network::protocol::Protocol;
[INFO] [stdout]   |             ^^^^^^^ could not find `network` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `server::core`
[INFO] [stdout]  --> src/minecraft/protocol/mod.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use server::core::{RegisterEvent, MappedRegistry};
[INFO] [stdout]   |             ^^^^ could not find `core` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `server::core`
[INFO] [stdout]   --> src/main.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use server::core::Registries;
[INFO] [stdout]    |             ^^^^ could not find `core` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `server::server`
[INFO] [stdout]   --> src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use server::server::{ServerSettings, ServerContainer};
[INFO] [stdout]    |             ^^^^^^ could not find `server` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `protocol_struct` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | protocol_struct!(StatusRequestPacket {});
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `protocol_struct` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:32:1
[INFO] [stdout]    |
[INFO] [stdout] 32 | protocol_struct!(PingRequestPacket { time: u64 });
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `protocol_struct` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | protocol_struct!(StatusResponsePacket { status: ServerStatus });
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `protocol_struct` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:34:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | protocol_struct!(PongResponsePacket { time: u64 });
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `packet` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | packet!(StatusProtocolHandler, StatusRequestPacket, handle_status_request);
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `packet` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | packet!(StatusProtocolHandler, PingRequestPacket, handle_ping_request);
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `packet` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | packet!(StatusResponsePacket);
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `packet` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | packet!(PongResponsePacket);
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `protocol_struct` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/handshake.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | protocol_struct!(IntentionPacket {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `packet` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/handshake.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | packet!(HandshakeProtocolHandler, IntentionPacket, handle_intention);
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AirBlock`
[INFO] [stdout]  --> src/minecraft/blocks.rs:7:49
[INFO] [stdout]   |
[INFO] [stdout] 7 |     registry.register("minecraft:air", Box::new(AirBlock::new()));
[INFO] [stdout]   |                                                 ^^^^^^^^ use of undeclared type or module `AirBlock`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `protocol` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/mod.rs:10:28
[INFO] [stdout]    |
[INFO] [stdout] 10 |     protocols.register(-1, protocol! {
[INFO] [stdout]    |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `protocol` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/mod.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 16 |     protocols.register(1, protocol! {
[INFO] [stdout]    |                           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Block` in this scope
[INFO] [stdout]  --> src/minecraft/blocks.rs:4:71
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn register_blocks(event: &mut RegisterEvent<ResourceRegistry<Box<dyn Block>>>) {
[INFO] [stdout]   |                   -                                                   ^^^^^ not found in this scope
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   help: you might be missing a type parameter: `<Block>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AirBlock`
[INFO] [stdout]  --> src/minecraft/blocks.rs:7:49
[INFO] [stdout]   |
[INFO] [stdout] 7 |     registry.register("minecraft:air", Box::new(AirBlock::new()));
[INFO] [stdout]   |                                                 ^^^^^^^^ use of undeclared type or module `AirBlock`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ProtocolHandlerState` in this scope
[INFO] [stdout]  --> src/minecraft/protocol/status.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 |     state: ProtocolHandlerState,
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ProtocolHandler` in this scope
[INFO] [stdout]  --> src/minecraft/protocol/status.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl ProtocolHandler for StatusProtocolHandler {
[INFO] [stdout]   |      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ProtocolHandlerState` in this scope
[INFO] [stdout]  --> src/minecraft/protocol/status.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn new(state: ProtocolHandlerState) -> Self {
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StatusRequestPacket` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:15:65
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub async fn handle_status_request(&mut self, _packet: &mut StatusRequestPacket) -> Result<(), anyhow::Error> {
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StatusResponsePacket` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:18:32
[INFO] [stdout]    |
[INFO] [stdout] 18 |         self.state.send_packet(StatusResponsePacket {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PingRequestPacket` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:25:62
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub async fn handle_ping_request(&mut self, packet: &mut PingRequestPacket)  -> Result<(), anyhow::Error> {
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PongResponsePacket` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:26:32
[INFO] [stdout]    |
[INFO] [stdout] 26 |         self.state.send_packet(PongResponsePacket { time: packet.time })?;
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ProtocolHandlerState` in this scope
[INFO] [stdout]  --> src/minecraft/protocol/handshake.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 |     state: ProtocolHandlerState,
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ProtocolHandler` in this scope
[INFO] [stdout]  --> src/minecraft/protocol/handshake.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl ProtocolHandler for HandshakeProtocolHandler {
[INFO] [stdout]   |      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ProtocolHandlerState` in this scope
[INFO] [stdout]  --> src/minecraft/protocol/handshake.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn new(state: ProtocolHandlerState) -> Self {
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IntentionPacket` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/handshake.rs:15:59
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub async fn handle_intention(&mut self, packet: &mut IntentionPacket) -> Result<(), anyhow::Error> {
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Protocol` in this scope
[INFO] [stdout]  --> src/minecraft/protocol/mod.rs:7:69
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn register_protocols(event: &mut RegisterEvent<MappedRegistry<i32, Protocol>>) {
[INFO] [stdout]   |                      -                                              ^^^^^^^^ not found in this scope
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      help: you might be missing a type parameter: `<Protocol>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `init` in crate `server`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |     server::init();
[INFO] [stdout]    |             ^^^^ not found in `server`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::minecraft::init;
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::minecraft::protocol::init;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 38 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mc-server`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0405]: cannot find trait `Block` in this scope
[INFO] [stdout]  --> src/minecraft/blocks.rs:4:71
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn register_blocks(event: &mut RegisterEvent<ResourceRegistry<Box<dyn Block>>>) {
[INFO] [stdout]   |                   -                                                   ^^^^^ not found in this scope
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   help: you might be missing a type parameter: `<Block>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ProtocolHandlerState` in this scope
[INFO] [stdout]  --> src/minecraft/protocol/status.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 |     state: ProtocolHandlerState,
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ProtocolHandler` in this scope
[INFO] [stdout]  --> src/minecraft/protocol/status.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl ProtocolHandler for StatusProtocolHandler {
[INFO] [stdout]   |      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ProtocolHandlerState` in this scope
[INFO] [stdout]  --> src/minecraft/protocol/status.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn new(state: ProtocolHandlerState) -> Self {
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StatusRequestPacket` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:15:65
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub async fn handle_status_request(&mut self, _packet: &mut StatusRequestPacket) -> Result<(), anyhow::Error> {
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StatusResponsePacket` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:18:32
[INFO] [stdout]    |
[INFO] [stdout] 18 |         self.state.send_packet(StatusResponsePacket {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PingRequestPacket` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:25:62
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub async fn handle_ping_request(&mut self, packet: &mut PingRequestPacket)  -> Result<(), anyhow::Error> {
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PongResponsePacket` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/status.rs:26:32
[INFO] [stdout]    |
[INFO] [stdout] 26 |         self.state.send_packet(PongResponsePacket { time: packet.time })?;
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ProtocolHandlerState` in this scope
[INFO] [stdout]  --> src/minecraft/protocol/handshake.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 |     state: ProtocolHandlerState,
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ProtocolHandler` in this scope
[INFO] [stdout]  --> src/minecraft/protocol/handshake.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl ProtocolHandler for HandshakeProtocolHandler {
[INFO] [stdout]   |      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ProtocolHandlerState` in this scope
[INFO] [stdout]  --> src/minecraft/protocol/handshake.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn new(state: ProtocolHandlerState) -> Self {
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IntentionPacket` in this scope
[INFO] [stdout]   --> src/minecraft/protocol/handshake.rs:15:59
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub async fn handle_intention(&mut self, packet: &mut IntentionPacket) -> Result<(), anyhow::Error> {
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Protocol` in this scope
[INFO] [stdout]  --> src/minecraft/protocol/mod.rs:7:69
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn register_protocols(event: &mut RegisterEvent<MappedRegistry<i32, Protocol>>) {
[INFO] [stdout]   |                      -                                              ^^^^^^^^ not found in this scope
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      help: you might be missing a type parameter: `<Protocol>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `init` in crate `server`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |     server::init();
[INFO] [stdout]    |             ^^^^ not found in `server`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::minecraft::init;
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::minecraft::protocol::init;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 38 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "351d06990a7af9303d2fc96c568f8dab41f3e485be83ac22a699538472500fa1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "351d06990a7af9303d2fc96c568f8dab41f3e485be83ac22a699538472500fa1", kill_on_drop: false }`
[INFO] [stdout] 351d06990a7af9303d2fc96c568f8dab41f3e485be83ac22a699538472500fa1
